Skip to content

refactor: standardize server logging#1119

Open
Ivorisnoob wants to merge 4 commits intopingdotgg:mainfrom
Ivorisnoob:refactor/codex-logging
Open

refactor: standardize server logging#1119
Ivorisnoob wants to merge 4 commits intopingdotgg:mainfrom
Ivorisnoob:refactor/codex-logging

Conversation

@Ivorisnoob
Copy link
Contributor

@Ivorisnoob Ivorisnoob commented Mar 15, 2026

What Changed

  • Migrated Codex manager lifecycle logs from console to Effect.log.

Why

  • Log Persistence: Events logged via console are not captured by the project's
    rotating file sink. This change ensures critical provider events are persisted to disk.
  • Consistency: Brings the Codex server management logic in line with the established
    patterns used by the Git and Terminal services.

UI Changes

N/A

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Standardize logging in CodexAppServerManager.startSession to use Effect-based structured logs

Replaces console.log calls in startSession with Effect's logInfo/logWarning for model/list and account/read requests. Each log includes structured fields (e.g. response, cause, planType, sparkEnabled) and is awaited via .pipe(this.runPromise).

Macroscope summarized d44fd3e.

@coderabbitai
Copy link

coderabbitai bot commented Mar 15, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 87d9cb48-da52-4a65-9a0a-c30f6e8a2d37

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added size:S 10-29 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list. labels Mar 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant